﻿using AutoMapper;
using wisdom_logistics.Dto;
using wisdom_logistics.Entity;

namespace wisdom_logistics
{
    public class wisdom_logisticsApplicationAutoMapperProfile : Profile
    {
        public wisdom_logisticsApplicationAutoMapperProfile()
        {
            /* You can configure your AutoMapper mapping configuration here.
             * Alternatively, you can split your mapping configurations
             * into multiple profile classes for a better organization. */
            CreateMap<OwnerContract, OwnerContractDto>();
            CreateMap<CreateOwnerContractDto, OwnerContract>();
        }
    }
}
